-
Home
-
PDF Invoices & Packing Slips for WooCommerce
-
4.8.0
-
Code
-
Classes
- Semaphore
| Total Complexity |
54 |
| Dependencies |
2 |
| Dependents |
4 |
| Total lines |
468 |
| Lines of code |
232 |
| Logical lines of code |
117 |
| Comment lines |
112 |
| Methods |
16 |
| Properties |
9 |
Methods 16
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| lock() |
A |
43 |
8 |
55 |
| get_cleanup_action() |
S |
52 |
6 |
24 |
| is_cleanup_scheduled() |
S |
55 |
6 |
19 |
| log() |
S |
60 |
6 |
13 |
| __construct() |
S |
65 |
5 |
7 |
| schedule_semaphore_cleanup() |
S |
57 |
4 |
15 |
| ensure_database_initialised() |
S |
52 |
3 |
26 |
| init_cleanup() |
S |
62 |
4 |
11 |
| release() |
S |
59 |
2 |
15 |
| count_released_locks() |
S |
62 |
2 |
11 |
| set_loggers() |
S |
71 |
2 |
6 |
| cleanup_released_locks() |
S |
64 |
2 |
10 |
| delete() |
S |
63 |
1 |
11 |
| add_logger() |
S |
80 |
1 |
3 |
| get_loggers() |
S |
82 |
1 |
3 |
| get_cleanup_hook_name() |
S |
80 |
1 |
3 |